-- GENERATED SPELL FOR [Devilsaur] --


function spell0_6498(pUnit, Event) --@Mighty Blow,n/a--
pUnit:FullCastSpellOnTarget(14099,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6498', 606, 1)
end

function Sorts_6498(pUnit, Event)
local choix_sorts_6498 = math.random(0, 0)
if choix_sorts_6498 == 0 then
pUnit:RegisterEvent('spell0_6498', 1, 1)
end
end

function mob6498_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6498', math.random(1500, 3000), 1)
end

function mob6498_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6498_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6498_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6498, 1, 'mob6498_Action')
RegisterUnitEvent(6498, 2, 'mob6498_Leave')
RegisterUnitEvent(6498, 3, 'mob6498_Kill')
RegisterUnitEvent(6498, 4, 'mob6498_Die')
